<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <h3>{{ html }}</h3>
    <hr>
    <h3 v-text="html"></h3>
    <hr>
    <h3 v-html="html"></h3>
  </div>
  <script src="../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        title: 'hello world',
        html: "<a href='http://www.baidu.com'>百度一下</a>"
      }
    })
  </script>
</body>
</html>